package com.enjoyor.health.HGPT.core.service;

import com.enjoyor.health.HGPT.core.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 体检报告用户表 服务类
 * </p>
 *
 * @author enjoyor
 * @since 2023-10-18
 */
public interface IUserInfoService extends IService<UserInfo> {

    void insertOrUpdateUserInfo(UserInfo userInfo);

    UserInfo getUserInfoFromOpenId(String openId);

    int updateUserInfo(UserInfo userInfo);

    List<UserInfo> getUserInfoByPhone(String phone);

}
